/*
Copyright (c) [2019年5月1日] [吴超]
[MBT_studio] is licensed under Mulan PSL v2.
You can use this software according to the terms and conditions of the Mulan PSL v2.
You may obtain a copy of Mulan PSL v2 at:
		 http://license.coscl.org.cn/MulanPSL2
THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
See the Mulan PSL v2 for more details.
*/
#include "stdafx.h"

#include "顶点矩阵变换.h"




void f_顶点缩放矩阵变换(vec3 * v, uint32 num, const vec3 & scale) {
	C_Mat44 转换矩阵 = f_Identity();
	
	转换矩阵 = f_构建缩放矩阵(scale);


	for (uint32 i = 0; i < num; ++i) {
		//v[i] = 转换矩阵 * v[i];
		v[i] *= 转换矩阵;
	}
}
